<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cloud 应用</title>
    <style>
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 20px;
            color: #333;
            background-color: #f5f5f5;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            background-color: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        h1 {
            color: #2c3e50;
            border-bottom: 2px solid #3498db;
            padding-bottom: 10px;
        }
        .api-list {
            margin-top: 20px;
        }
        .api-item {
            background-color: #f9f9f9;
            padding: 10px;
            margin-bottom: 10px;
            border-left: 4px solid #3498db;
        }
        .api-url {
            font-weight: bold;
            color: #3498db;
        }
        .api-method {
            display: inline-block;
            padding: 2px 6px;
            background-color: #27ae60;
            color: white;
            border-radius: 3px;
            font-size: 0.8em;
            margin-right: 5px;
        }
        .api-method.post {
            background-color: #f39c12;
        }
        .api-method.put {
            background-color: #8e44ad;
        }
        .api-method.delete {
            background-color: #e74c3c;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>Cloud 应用</h1>
        <p>欢迎使用 Cloud 应用程序。这是一个基于 Spring Boot 的 RESTful API 服务。</p>
        
        <div class="api-list">
            <h2>API 接口列表</h2>
            
            <div class="api-item">
                <span class="api-method">GET</span>
                <span class="api-url">/api/users</span>
                <p>获取用户列表</p>
            </div>
            
            <div class="api-item">
                <span class="api-method">GET</span>
                <span class="api-url">/api/users/{id}</span>
                <p>获取指定 ID 的用户详情</p>
            </div>
            
            <div class="api-item">
                <span class="api-method post">POST</span>
                <span class="api-url">/api/users</span>
                <p>创建新用户</p>
            </div>
            
            <div class="api-item">
                <span class="api-method put">PUT</span>
                <span class="api-url">/api/users/{id}</span>
                <p>更新指定 ID 的用户</p>
            </div>
            
            <div class="api-item">
                <span class="api-method delete">DELETE</span>
                <span class="api-url">/api/users/{id}</span>
                <p>删除指定 ID 的用户</p>
            </div>
            
            <div class="api-item">
                <span class="api-method">GET</span>
                <span class="api-url">/test</span>
                <p>测试接口</p>
            </div>
        </div>
    </div>
</body>
</html> 